//技能类型
export interface SkillItem {
  name: string;
  type: string;
  power: number;
  info: string;
  size: number;
  count: number;
}
export interface attr {
  atk: number;
  int: number;
  def: number;
  res: number;
  phy: number;
  agl: number;
  hp: number;
}
export interface sprite {
  spriteId: number;
  name: string;
  lv: number;
  exp: {
    currExp: number;
    maxExp: number;
  };
  attr: {
    currAttr: attr;
    maxAttr: attr;
  };
  skill: SkillItem[];
}
export interface GoodItem {
  name: string;
  type: string;
  size: number;
  info: string;
  odds?: string;
  attr?: attrAdd;
}
export interface attrAdd {
  atk?: number;
  int?: number;
  def?: number;
  res?: number;
  phy?: number;
  agl?: number;
  hp?: number;
  pp?: number;
}
export interface mapStarItem {
  //星球的基本组成
  id: number;
  name: string;
  info?: string;
  level?: number; //等级范围
  sprite: string[]; //精灵分布
  resource?: string[]; //资源分布
  npcArry?: string[]; //npc分布
  boss?: string; //boss
}
export interface mapStar {
  //星球
  id: number;
  name: string;
  type: string; //目前用于区分
  mapStarArry: mapStarItem[]; //星球组
}

// export interface map{ //银河
// }
